import request from '../utils/request'

export const treeOfQuota = () => {
  return request({
    url: '/quota/treeOfQuota',
    method: 'get'
  })
}

export const queryOptionsByQuotaId = (quotaId) => {
  return request({
    url: '/quota/queryOptionsByQuotaId',
    method: 'get',
    params: {
      quotaId: quotaId
    }
  })
}

export const getQuotaInfoByDictId = (dictId) => {
  return request({
    url: '/evaluation/getEvaluationTaskByDict',
    method: 'get',
    params: {
      dictId: dictId
    }
  })
}